package com.edu.demo.login.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import com.edu.demo.login.model.UserDomain;

@Mapper
public interface LoginDao {

	@Select("select user_account as userName from tb_user where user_account = #{userName} and user_passwd = #{passwd}")
	public UserDomain login(UserDomain userDomain);
}
